﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;


namespace Sueetie.Core
{
    public class SueetieBaseMasterPage : System.Web.UI.MasterPage
    {
        public SueetieContext CurrentPageContext
        {
            get
            {
                return SueetieContext.Current;
            }
        }

        public SueetieUser CurrentSueetieUser
        {
            get
            {
                return SueetieContext.Current.User;
            }
        }

        public int CurrentUserID
        {
            get
            {
                return this.CurrentSueetieUser.UserID;
            }
        }
    }
}
